﻿#region Using directives

using System;
using System.Runtime.Serialization;

#endregion

namespace MCMLXVII.BackEnd.Services.SystemConfiguration.Messages
{

    [Serializable()]
    [System.Xml.Serialization.XmlType(Namespace = "http://tempuri.org/")]
    public class msgSecurityProvider
    {
        private int _SecProviderID;
        public int SecProviderID
        {
            get
            {
                return _SecProviderID;
            }

            set
            {
                _SecProviderID = value;
            }
        }

        private string _SecProviderClassID;
        public string SecProviderClassID
        {
            get
            {
                return _SecProviderClassID;
            }

            set
            {
                _SecProviderClassID = value;
            }
        }

        private string _Description;
        public string Description
        {
            get
            {
                return _Description;
            }

            set
            {
                _Description = value;
            }
        }

        private string _FQDN;
        public string FQDN
        {
            get
            {
                return _FQDN;
            }

            set
            {
                _FQDN = value;
            }
        }

        private string _NetbiosName;
        public string NetbiosName
        {
            get
            {
                return _NetbiosName;
            }

            set
            {
                _NetbiosName = value;
            }
        }

        private bool _SupportsTreeBrowsing;
        public bool SupportsTreeBrowsing
        {
            get
            {
                return _SupportsTreeBrowsing;
            }

            set
            {
                _SupportsTreeBrowsing = value;
            }
        }

        private bool _SupportsGroups;
        public bool SupportsGroups
        {
            get
            {
                return _SupportsGroups;
            }

            set
            {
                _SupportsGroups = value;
            }
        }

        private bool _SupportsCrawling;
        public bool SupportsCrawling
        {
            get
            {
                return _SupportsCrawling;
            }

            set
            {
                _SupportsCrawling = value;
            }
        }



        public msgSecurityProvider()
        {

        }

        public msgSecurityProvider(int SecproviderID, string SecProviderClassID, string Description, string FQDN, string NetbiosName, bool SupportsTreeBrowsing, bool SupportsGroups, bool SupportsCrawling)
        {
            _SecProviderID = SecproviderID;
            _SecProviderClassID = SecProviderClassID;
            _Description = Description;
            _FQDN = FQDN;
            _NetbiosName = NetbiosName;
            _SupportsTreeBrowsing = SupportsTreeBrowsing;
            _SupportsGroups = SupportsGroups;
            _SupportsCrawling = SupportsCrawling;

        }
    }

    [Serializable()]
    [System.Xml.Serialization.XmlType(Namespace = "http://tempuri.org/")]
    public class msgSecurityUsersListRequest
    {

        private int _ProviderID;
        public int ProviderID
        {
            get
            {
                return _ProviderID;
            }
            set
            {
                _ProviderID=value;
            }

        }

        private string _ProviderPath;
        public string ProviderPath
        {
            get
            {
                return _ProviderPath;
            }
            set
            {
                _ProviderPath=value;
            }
        }

        private string _Filter;
        public string Filter
        {
            get
            {
                return _Filter;
            }
            set
            {
                _Filter=value;
            }

        }

        public msgSecurityUsersListRequest()
        {         
        }

        public msgSecurityUsersListRequest(int providerID, string providerPath, string Filter)
        {
            _ProviderID = providerID;
            _ProviderPath = providerPath;
            _Filter = Filter;
        }


    }
}
